var BUS = {};
BUS.install = function(Vue, options) {
  const _bus = new Vue({
    data: {
      num: 108
    },
    created() {
      this.$on("add", function(num) {
        this.num += num;
      });
    }
  });
  Vue.prototype.$Bus = _bus
};

export default BUS;
